package com.csproj.dispatch.service.mapper;

import com.csproj.dispatch.domain.DispatchRoute;
import com.csproj.dispatch.service.dto.DispatchRouteDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity DispatchRoute and its DTO DispatchRouteDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface DispatchRouteMapper extends EntityMapper<DispatchRouteDTO, DispatchRoute> {

    

    

    default DispatchRoute fromId(String id) {
        if (id == null) {
            return null;
        }
        DispatchRoute dispatchRoute = new DispatchRoute();
        dispatchRoute.setId(id);
        return dispatchRoute;
    }
}
